{% extends 'layout/main.html' %}
{% block content %}
<div class="box">
  <div class="box-header">
	<h3 class="box-title">用户列表</h3>
  </div>
  <!-- /.box-header -->
  <div class="box-body no-padding">
	<table class="table table-bordered">
	  <tbody>
		<tr>
		  <th style="width: 10px">#</th>
		  <th>用户名</th>
		  <th>密码</th>
		  <th style="width: 40px">Label</th>
		</tr>
		{% for item in model %}
		<tr>
		  <td>{{ loop.index }}</td>
		  <td>{{ item.username }}</td>
		  <td>{{ item.password }}</td>
		  <td><span class="badge bg-red">55%</span></td>
		</tr>
		{% endfor %}
	  </tbody>
	</table>
  </div>
  <!-- /.box-body -->

  <div class="box-footer">
	<div class="box-tools">
	  <ul class="pagination pagination-sm no-margin pull-left">
		<li><a href="#">«</a></li>
		<li><a href="#">1</a></li>
		<li><a href="#">2</a></li>
		<li><a href="#">3</a></li>
		<li><a href="#">»</a></li>
	  </ul>
	</div>
  </div>
</div>
<!-- /.box -->
{% endblock %}
